package com.lepu.app.fun.grow;

import android.annotation.SuppressLint;
import android.os.Bundle;

import com.core.lib.application.BaseFragmentActivity;
import com.eyzhs.app.R;
import com.lepu.app.widget.CustomTopBarNew;
import com.lepu.app.widget.CustomTopBarNew.OnTopbarNewLeftLayoutListener;

public class GrowMedalWallActivity extends BaseFragmentActivity implements
		OnTopbarNewLeftLayoutListener {

	@Override
	@SuppressLint("InflateParams")
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.grow_medal_wall_activity);

		init();
	}

	@Override
	public void onDestroy() {
		super.onDestroy();
	}

	private void init() {

		// topbar
		CustomTopBarNew topbar = (CustomTopBarNew) findViewById(R.id.topbar);
		topbar.setTopbarTitle(R.string.medal_wall_title);
		topbar.setonTopbarNewLeftLayoutListener(this);
	}

	@Override
	public void onBackPressed() {
		finish(true);
	}

	@Override
	public void onTopbarLeftLayoutSelected() {
		finish(true);
	}
}
